package com.army.stock.dao;

import com.army.stock.domain.ArmyDepartment;

import java.util.List;
import java.util.Map;

/**
 * Created by zhangyong on 14/12/25.
 * 部门dao
 */
public interface ArmyDepartmentDao {

    public List<ArmyDepartment> getArmyDepartments(Map<String, Object> params);

    public Integer getCountArmyDepartments(Map<String, Object> params);

    public Integer insertArmyDepartment(ArmyDepartment ArmyDepartment);

    public ArmyDepartment getArmyDepartmentById(Long id);

    public ArmyDepartment getArmyDepartmentByParam(ArmyDepartment param);

    public Integer updateArmyDepartment(ArmyDepartment ArmyDepartment);

    public Integer delArmyDepartment(Long id);

}
